package com.hongmeng.teamwork.entity.event;

import com.hongmeng.teamwork.entity.po.TeamworkProject;
import lombok.Getter;
import lombok.Setter;
import org.springframework.context.ApplicationEvent;


@Getter
@Setter
public class ProjectMessageEvent extends ApplicationEvent {

    private TeamworkProject teamworkProject;
    private boolean saveStatusFlag;

    public ProjectMessageEvent(Object source, TeamworkProject teamworkProject, boolean saveStatusFlag) {
        super(source);
        this.teamworkProject = teamworkProject;
        this.saveStatusFlag = saveStatusFlag;
    }
}
